<tr id="tr_0"></tr>
<?php
$i_stt = 0;
//var_dump($arr_data);

foreach ( $arr_data as $key => $o_article) {

	$date_insert = new DateTime($o_article->insert);
	$i_stt +=1;
?>

<tr id="tr_<?=$o_article->identification;?>">

	<td>
		<input
			id		= "chk_delete"
			name	= "chk_delete"
			type	= "checkbox"
			class	= "check_box"
			value	= "<?=$o_article->identification;?>"
			onclick	= "display_button(this);"
		/>
	</td>
	
	<td>
		<span 
			class	= "icon_button icon_edit"
			onclick	= "call_edit_page(<?=$o_article->identification;?>);"
		> </span>
	</td>
		
	<td><?=$i_stt;?></td>
	<td><?=CHtml::decode($o_article->title);?></td>
	<td><?=$o_article->category_name;?></td>
	<td><?=$o_article->description;?></td>
	<td><?=$o_article->tag;?></td>
	<td><?=$date_insert->format("Y-m-d");?></td>
		
</tr>
<?php }?>

<tr>
	<td colspan="10">
	
		<?php CreatPaging($i_totalItem, $i_amountPerPage, $i_currentPage);?>
		<div class="clear"></div>
		
	</td>
</tr>